package com.jiangjiang.eshop.wms.convert;

import com.jiangjiang.eshop.wms.domain.PurchaseInputOrderItem;
import com.jiangjiang.eshop.wms.dto.PurchaseInputOrderItemDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @ClassName PurchaseInputOrderItemConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/13 22:25
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface PurchaseInputOrderItemConvert {

    List<PurchaseInputOrderItem> convertDTOList2Entities(List<PurchaseInputOrderItemDTO> items);

    List<PurchaseInputOrderItemDTO> convertEntities2DTOList(List<PurchaseInputOrderItem> list);
}
